package com.ivc.rule.service.impl;

import java.util.List;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;

import com.cs.framework.jdbc.common.dao.CommonDao;
import com.ivc.rule.dto.base.BusinessTypeDto;
import com.ivc.rule.service.BusinessTypeService;

/**
 * 业务类型
 * 
 * @author hedongzhou
 * 
 */
@Service("businessTypeService")
public class BusinessTypeServiceImpl implements BusinessTypeService {

	@Resource
	private CommonDao commonDao;

	/**
	 * 查询业务类型列表
	 * 
	 * @param businessTypeDto
	 * @return
	 */
	public List<BusinessTypeDto> query(BusinessTypeDto businessTypeDto) {
		return commonDao.selectList("BusinessType.query", businessTypeDto, businessTypeDto, BusinessTypeDto.class);
	}

}
